projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1350ad
)
Use inttypes.h on FreeBSD.
author
robertl
<robertl>
Wed, 20 Apr 2005 14:26:08 +0000
(14:26 +0000)
committer
robertl
<robertl>
Wed, 20 Apr 2005 14:26:08 +0000
(14:26 +0000)
gbtypes.h
patch
|
blob
|
history
diff --git
a/gbtypes.h
b/gbtypes.h
index d519f988db21a5eecf347a714547435a3eb61a3d..bdbc8ce5f6d55063473fa462a04c40ab2eba80f6 100644
(file)
--- a/
gbtypes.h
+++ b/
gbtypes.h
@@
-34,7
+34,11
@@
typedef short gbint16;
#else
-#include <stdint.h>
+# if defined (__FreeBSD__)
+# include <inttypes.h>
+# else
+# include <stdint.h>
+# endif
typedef uint32_t gbuint32;
typedef uint16_t gbuint16;